package com.shop.cloud.service.system;

import java.util.List;
import java.util.Map;

import com.shop.cloud.common.mybatis.BaseServiceI;
import com.shop.cloud.domain.system.SysRole;

public interface ISysRoleService extends BaseServiceI<SysRole> {
    
	int insert2(final SysRole entity);
	
	int insertUserRole(Map<String, Object> params);

	int removeUserRole(Map<String, Object> params);

	List<String> findUserRole(Long userId);

	int insert(SysRole entity, String moduleIds);

	int insertTwo(String resourceIds, String roleId);

	int removeResourceIds(String removeResourceIds, String roleId);

	List<Map<String, Object>> list();

	List<String> findRole(Long roleId);

}